/*=============================================================================

  FGRAME GRABBER INTERFACE MODULE

  FILE: HFgDev.h
  
  DESCRIPTION

    Frame Grabber Interface Module Definition

  EXTERNALIZED FUNCTIONS

    
  Copyright (c) DaeSung Engineering Inc. All rights reserved.

=============================================================================*/
/*=============================================================================

                             EDIT HISTORY

  ---------  -------  -------------------------------------------------------
    when       who     what, where, why
  ---------  -------  -------------------------------------------------------
   07/17/04   nso4th   Frame Grabber Interface

=============================================================================*/

#ifndef _HFGDEV_H_
#define _HFGDEV_H_

/*=============================================================================
  HEADER INCLUSION
=============================================================================*/
#ifdef _OBASE_LT_
//#include <OBaseLT.h>
#else
#include <mxBase.h>
#endif

/*=============================================================================
  ENUMERATORS
=============================================================================*/
typedef enum
{
	HFGDEV_BASE_E = HFGBASE_EVENT_E,
	HFGDEV_FPS_E = HFGBASE_FPS_E,
	
	FGDEV_EVENT_END_E = HFGBASE_EVENT_END_E
} HFgDevEvent_e;

typedef enum
{
	HFGDEV_BASE_EC = HFGBASE_BASE_EC,
	HFGDEV_INVALID_HANDLE_EC = HFGBASE_INVALID_HANDLE_EC,
	HFGDEV_INVALID_PARAM_EC = HFGBASE_INVALID_PARAM_EC,
	HFGDEV_INVALID_CFGFILE_EC = HFGBASE_INVALID_CFGFILE_EC,
	HFGDEV_INIT_EC = HFGBASE_INIT_EC,
	HFGDEV_UNSUPPORT_EC = HFGBASE_UNSUPPORT_EC
} HFGDevError_e;

/*=============================================================================
  CALLBACK DEFINITION
=============================================================================*/

/*=============================================================================
  STRUCTURE DEFINITION
=============================================================================*/

/*=============================================================================
  HFgDev CLASS DEFINITION
=============================================================================*/
class HFgDev : public HFgDevBase
{
public:
	HFgDev();
	~HFgDev();

/*---------------------------------------------------------
  OPERATION
---------------------------------------------------------*/
public:
	boolean SetCamInfo(char *pszCam);

/*-------------------------------------------------------------------
  EVENT HANDLER
-------------------------------------------------------------------*/
public:
	virtual dword Event_Handler(dword dwEvent, dword wParam, dword lParam);
protected:
	virtual dword Event_PreProc(dword dwEvent, dword wParam, dword lParam);
};
#endif /* _XIMAGE_H_ */

/*--- END OF HFgDev.h ---*/
